package com.efast.dmom.aps.service;

import java.util.List;

import com.efast.dmom.aps.bean.ResultBean;
import com.efast.dmom.aps.bean.SupplierPart;

public interface SupplierPartService {

	ResultBean save(SupplierPart supplierPart);

	ResultBean update(SupplierPart supplierPart);

	ResultBean delete(SupplierPart supplierPart);

	SupplierPart getById(long id);

	SupplierPart getByName(String name);

	List<SupplierPart> getSupplierPartBySupplierId(long supplierId);

	List<SupplierPart> getSupplierPartByPartId(long partId);
    
}


